import Home from './components/Home.vue';
import Photo from './components/photo/index1.vue';
import PostPhoto from './components/photo/postphoto.vue';
import Active from './components/active/index.vue';
import server from './components/server/index.vue';
import getServer from './components/server/index1.vue';
import Comment from './components/comment/index.vue';
import User from './components/user/index.vue';
import Encyclopedia from './components/Encyclopedia/User.vue';
// import Cate from './components/cates/index.vue';

export const routes = [
    { path: '/', component: Home },
    { path: '/user', component: User },
    // { path: '/cate', component: Cate },
    { path: '/encyclopedia', component: Encyclopedia },
    { path: '/photo', component: Photo },
    { path: '/postphoto', component: PostPhoto },
    { path: '/active', component: Active },
    { path: '/server', component: server },
    { path: '/getServer', component: getServer },
    { path: '/comment', component: Comment }
]